//
//  CheckValid.h
//  UTDoorStyle
//
//  Created by CYN on 14-9-28.
//  Copyright (c) 2014年 exmart. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CheckValid : NSObject

+ (BOOL)isIncludeEmoji:(NSString *)str;

+ (BOOL)checkPrefixOrSufixIsEmpty:(NSString *)str;

+ (BOOL)checkStrIsEmpty:(NSString *)nickName;

+ (BOOL)isValidateEmail:(NSString *)email;

+ (BOOL)isValidatePhone:(NSString *)phone;

+ (BOOL)isValidateZuoJiPhone:(NSString *)phone;

+ (BOOL)isValidateNetConnection;

//+ (BOOL)isValidateIdentityCardNotOnlyNumAndX:(NSString *)identityCard;

+ (BOOL)isValidateIdentityCard: (NSString *)identityCard;

+ (BOOL)isValidateWuWeiPhone:(NSString *)phone;

//判断里面只能有数字和字母，当more<less时位数为大于more小于less
+ (BOOL)isOnlyNumberAndCharString:(NSString *)str limitedLengthMoreThan:(int)more lessThan:(int)less;
//判断里面只能有数字和字母，并且同时有数字和字母，当more<less时位数为大于more小于less
+ (BOOL)isBothNumberAndCharString:(NSString *)str limitedLengthMoreThan:(int)more lessThan:(int)less;

//短信验证码，6位数字
+ (BOOL)isValidateCode:(NSString *)code;

+ (BOOL)isOnlyNumber:(NSString *)str;

//YES,代表合法的输入，数字字母中文以及一些特殊字符
+ (BOOL)isLegalCharacter:(NSString *)str;

//yes代表输入的是汉字
+(BOOL)IsChinese:(NSString *)str;

@end
